<!doctype html>
<html lang="en">
<head>
    <title>Code coverage report for src/components/MDM/Customer/Building/List.vue</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="..\..\..\..\..\prettify.css" />
    <link rel="stylesheet" href="..\..\..\..\..\base.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type='text/css'>
        .coverage-summary .sorter {
            background-image: url(..\..\..\..\..\sort-arrow-sprite.png);
        }
    </style>
</head>
<body>
<div class='wrapper'>
  <div class='pad1'>
    <h1>
      <a href="..\..\..\..\..\index.html">All files</a> / <a href="index.html">src/components/MDM/Customer/Building</a> List.vue
    </h1>
    <div class='clearfix'>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Statements</span>
        <span class='fraction'>0/42</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Branches</span>
        <span class='fraction'>0/2</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Functions</span>
        <span class='fraction'>0/20</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Lines</span>
        <span class='fraction'>0/42</span>
      </div>
    </div>
  </div>
  <div class='status-line low'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&lt;template&gt;
  &lt;div o-Container&gt;
    &lt;o-list v-bind:source="list.building" v-bind="{modified:modifyBuilding}"/&gt;
    &lt;div class="modal fade text-center" id="BuildingPanel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&gt;
        &lt;div class="modal-content"&gt;
          &lt;div class="modal-body text-left"&gt;
            &lt;o-item v-bind:source="item.building" v-bind="{saved:saveBuilding}"&gt;&lt;/o-item&gt;
            &lt;o-list v-bind:source="list.budget"
                    v-bind="{created:createBudget,modified:modifyBudget}"/&gt;
            &lt;o-list v-bind:source="list.floor"
                    v-bind="{created:createFloor,modified:modifyFloor}"/&gt;
          &lt;/div&gt;
        &lt;/div&gt;&lt;!-- /.modal-content --&gt;
      &lt;/div&gt;&lt;!-- /.modal --&gt;
    &lt;/div&gt;
    &lt;div class="modal fade text-center" id="FloorPanel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&gt;
        &lt;div class="modal-content"&gt;
          &lt;div class="modal-body text-left"&gt;
            &lt;o-item v-bind:source="item.floor" v-bind="{saved:saveFloor,loaded:loadFloor}"&gt;&lt;/o-item&gt;
          &lt;/div&gt;
        &lt;/div&gt;&lt;!-- /.modal-content --&gt;
      &lt;/div&gt;&lt;!-- /.modal --&gt;
    &lt;/div&gt;
    &lt;div class="modal fade text-center" id="BudgetPanel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&gt;
        &lt;div class="modal-content"&gt;
          &lt;div class="modal-body text-left"&gt;
            &lt;o-item v-bind:source="item.budget" v-bind="{saved:saveBudget,loaded:loadBudget}"&gt;&lt;/o-item&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/template&gt;
&nbsp;
&lt;script&gt;
  export default {
    name: "mms_cus_building_list", /* 这个name暂时不知道用啥用，根据官方文档说的是方便排错的 */
<span class="fstat-no" title="function not covered" >    data() {</span>
<span class="cstat-no" title="statement not covered" >      return {</span>
        octopus: this.$parent.octopus,
        bulidingID: "",
        list: {
          building: {
            data: {
              id: 2, // 菜单表的八爪鱼ID
              cellData: [
                {name: "ProjectID", filterKey: "=", show: false},
                {name: "Name", searchKey: "LIKE"},
                {name: "Code"},
                {name: "TotalArea"},
                {name: "FloorCount"},
                // {name: "EUIBudget"},
                {name: "Note", width: 200},
                {name: "CreateTime", width: 160, searchKey: "BETWEEN"},
              ]
            }
          },
          budget: {
            data: {
              id: 172, // 菜单表的八爪鱼ID
              cellData: [
                {name: "BuildingID", filterKey: "=", show: false},
                {name: "TypeID", width: 40},
                {name: "Date", width: 80},
                {name: "ElectricityConsumption", width: 80},
                {name: "ElectricityFees", width: 80},
                {name: "ElectricityFAI", width: 90},
                {name: "WaterConsumption", width: 80},
                {name: "WaterFees", width: 80},
                {name: "EUIBudget", width: 80},
                {name: "CreateTime", width: 160},
              ],
              height: "200px"
            }
          },
          floor: {
            data: {
              id: 83, // 菜单表的八爪鱼ID
              cellData: [
                {name: "BuildingID"},
                {name: "Name"},
                {name: "FloorArea"},
                {name: "FloorIndex"},
                {name: "Length", width: 80},
                {name: "Width", width: 80},
                {name: "Height", width: 80},
                {name: "CreateTime", width: 160},
              ],
              height: "200px"
            }
          },
        },
        item: {
          building: {
            data: {
              id: 2,
              value: "",
              cellData: [
                {name: "ProjectID"},
                {name: "Name"},
                {name: "Code"},
                {name: "TotalArea"},
                {name: "FloorCount"},
                // {name: "EUIBudget"},
                {name: "CreateTime"},
                {name: "Note"},
              ],
            },
          },
          floor: {
            data: {
              id: 83,
              value: "",
              cellData: [
                {name: "BuildingID"},
                {name: "Name"},
                {name: "FloorArea"},
                {name: "FloorIndex"},
                {name: "Length"},
                {name: "Width"},
                {name: "Height"},
                {name: "CreateTime"},
                {name: "FloorPlanData"},
              ]
            },
          },
          budget: {
            data: {
              id: 172,
              value: "",
              cellData: [
                {name: "BuildingID"},
                {name: "TypeID"},
                {name: "Date"},
                {name: "ElectricityConsumption"},
                {name: "ElectricityFees"},
                {name: "ElectricityFAI"},
                {name: "WaterConsumption"},
                {name: "WaterFees"},
                {name: "EUIBudget"},
                {name: "CreateTime"},
              ]
            },
          },
        },
      }
    },
<span class="fstat-no" title="function not covered" >    created: function () {</span>
<span class="cstat-no" title="statement not covered" >      this.octopus.tools.parseCell(this.list.building.data, "ProjectID").filterValue = this.octopus.passport.project;</span>
    },
    methods: {
<span class="fstat-no" title="function not covered" >      modifyBuilding: function (row) {</span>
<span class="cstat-no" title="statement not covered" >        this.bulidingID = row.ID;</span>
<span class="cstat-no" title="statement not covered" >        this.item.building.data.value = row.ID;</span>
<span class="cstat-no" title="statement not covered" >        this.item.building.control.load();</span>
&nbsp;
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        $(this.list.floor.data.cellData).each(function (index, item) {</span></span>
<span class="cstat-no" title="statement not covered" >          if (item.name == "BuildingID") {</span>
<span class="cstat-no" title="statement not covered" >            item.filterKey = "=";</span>
<span class="cstat-no" title="statement not covered" >            item.filterValue = row.ID;</span>
          }
        });
<span class="cstat-no" title="statement not covered" >        this.list.floor.control.load();</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        $(function () {</span></span>
<span class="cstat-no" title="statement not covered" >          $("#BuildingPanel").modal('show');</span>
        });
&nbsp;
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.budget.data, "BuildingID").filterValue = this.bulidingID.toString();</span>
<span class="cstat-no" title="statement not covered" >        this.list.budget.control.load();</span>
      },
<span class="fstat-no" title="function not covered" >      createFloor: function () {</span>
<span class="cstat-no" title="statement not covered" >        this.item.floor.data.value = null;</span>
<span class="cstat-no" title="statement not covered" >        this.item.floor.control.load();</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        $(function () {</span></span>
<span class="cstat-no" title="statement not covered" >          $("#FloorPanel").modal('show');</span>
        });
      },
<span class="fstat-no" title="function not covered" >      modifyFloor: function (row) {</span>
<span class="cstat-no" title="statement not covered" >        this.item.floor.data.value = row.ID;</span>
<span class="cstat-no" title="statement not covered" >        this.item.floor.control.load();</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        $(function () {</span></span>
<span class="cstat-no" title="statement not covered" >          $("#FloorPanel").modal('show');</span>
        });
      },
<span class="fstat-no" title="function not covered" >      createBudget: function () {</span>
<span class="cstat-no" title="statement not covered" >        this.item.budget.data.value = null;</span>
<span class="cstat-no" title="statement not covered" >        this.item.budget.control.load();</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        $(function () {</span></span>
<span class="cstat-no" title="statement not covered" >          $("#BudgetPanel").modal('show');</span>
        });
      },
<span class="fstat-no" title="function not covered" >      modifyBudget: function (row) {</span>
<span class="cstat-no" title="statement not covered" >        this.item.budget.data.value = row.ID;</span>
<span class="cstat-no" title="statement not covered" >        this.item.budget.control.load();</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        $(function () {</span></span>
<span class="cstat-no" title="statement not covered" >          $("#BudgetPanel").modal('show');</span>
        });
      },
<span class="fstat-no" title="function not covered" >      saveBuilding: function () {</span>
        // 刷新list
<span class="cstat-no" title="statement not covered" >        this.list.building.control.load();</span>
<span class="cstat-no" title="statement not covered" >        $("#BuildingPanel").modal('hide');</span>
      },
<span class="fstat-no" title="function not covered" >      saveFloor: function () {</span>
        // 刷新list
<span class="cstat-no" title="statement not covered" >        this.list.floor.control.load();</span>
<span class="cstat-no" title="statement not covered" >        $("#FloorPanel").modal('hide');</span>
      },
<span class="fstat-no" title="function not covered" >      loadFloor: function () {</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        let FilterColumn = $.grep(this.item.floor.data.cellData, function (value) {</span></span>
<span class="cstat-no" title="statement not covered" >          return value.name == "BuildingID";//筛选出当前数据列数据</span>
        });
<span class="cstat-no" title="statement not covered" >        FilterColumn[0].defaultValue = this.bulidingID.toString();</span>
      },
<span class="fstat-no" title="function not covered" >      saveBudget: function () {</span>
        // 刷新list
<span class="cstat-no" title="statement not covered" >        this.list.budget.control.load();</span>
<span class="cstat-no" title="statement not covered" >        $("#BudgetPanel").modal('hide');</span>
      },
<span class="fstat-no" title="function not covered" >      loadBudget: function () {</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        let FilterColumn = $.grep(this.item.budget.data.cellData, function (value) {</span></span>
<span class="cstat-no" title="statement not covered" >          return value.name == "BuildingID";//筛选出当前数据列数据</span>
        });
<span class="cstat-no" title="statement not covered" >        FilterColumn[0].defaultValue = this.bulidingID.toString();</span>
      },
    },
    props: ["oData"]
  }
&lt;/script&gt;
&nbsp;
&lt;style scoped&gt;
&nbsp;
&lt;/style&gt;
&nbsp;</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
  Code coverage
  generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Jan 20 2020 17:54:15 GMT+0800 (GMT+08:00)
</div>
</div>
<script src="..\..\..\..\..\prettify.js"></script>
<script>
window.onload = function () {
        if (typeof prettyPrint === 'function') {
            prettyPrint();
        }
};
</script>
<script src="..\..\..\..\..\sorter.js"></script>
</body>
</html>
